#include <stdio.h>
main() {
	int i, scores_arr_length = 10;
	float scores[scores_arr_length], sum = 0;
	printf("输入%d个学生的成绩:", scores_arr_length); 
	for(i = 0;i < scores_arr_length;i++) {
		scanf("%f", &scores[i]);
		sum += scores[i];
	}
	
	printf("平均分=%.2f", sum / scores_arr_length);
} 
